<?php

use yii\db\Migration;

class m200102_073524_common_auth_item extends Migration
{
    public function up()
    {
        /* 取消外键约束 */
        $this->execute('SET foreign_key_checks = 0');
        
        /* 创建表 */
        $this->createTable('{{%common_auth_item}}', [
            'id' => "int(11) NOT NULL AUTO_INCREMENT",
            'title' => "varchar(200) NULL DEFAULT '' COMMENT '标题'",
            'name' => "varchar(64) NOT NULL DEFAULT '' COMMENT '别名'",
            'app_id' => "varchar(20) NOT NULL DEFAULT '' COMMENT '应用'",
            'addons_name' => "varchar(100) NOT NULL DEFAULT '' COMMENT '插件名称'",
            'pid' => "int(10) NULL DEFAULT '0' COMMENT '父级id'",
            'level' => "int(5) NULL DEFAULT '1' COMMENT '级别'",
            'is_menu' => "tinyint(1) unsigned NULL DEFAULT '0' COMMENT '是否菜单'",
            'is_addon' => "tinyint(1) unsigned NULL DEFAULT '0' COMMENT '是否插件'",
            'sort' => "int(10) NULL DEFAULT '9999' COMMENT '排序'",
            'tree' => "varchar(500) NULL DEFAULT '' COMMENT '树'",
            'status' => "tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态[-1:删除;0:禁用;1启用]'",
            'created_at' => "int(11) NULL DEFAULT '0'",
            'updated_at' => "int(11) NULL DEFAULT '0'",
            'PRIMARY KEY (`id`)'
        ], "ENGINE=InnoDB  DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='公用_权限表'");
        
        /* 索引设置 */
        
        
        /* 表数据 */
        $this->insert('{{%common_auth_item}}',['id'=>'1','title'=>'系统基础','name'=>'base','app_id'=>'backend','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 ','status'=>'1','created_at'=>'1577950325','updated_at'=>'1577950325']);
        $this->insert('{{%common_auth_item}}',['id'=>'2','title'=>'个人中心','name'=>'/base/member/personal','app_id'=>'backend','addons_name'=>'','pid'=>'1','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_1 ','status'=>'1','created_at'=>'1577950325','updated_at'=>'1577950325']);
        $this->insert('{{%common_auth_item}}',['id'=>'3','title'=>'修改密码','name'=>'/base/member/up-password','app_id'=>'backend','addons_name'=>'','pid'=>'1','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_1 ','status'=>'1','created_at'=>'1577950325','updated_at'=>'1577950325']);
        $this->insert('{{%common_auth_item}}',['id'=>'4','title'=>'清理缓存','name'=>'/main/clear-cache','app_id'=>'backend','addons_name'=>'','pid'=>'1','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_1 ','status'=>'1','created_at'=>'1577950325','updated_at'=>'1577950325']);
        $this->insert('{{%common_auth_item}}',['id'=>'5','title'=>'查看消息','name'=>'baseAnnounce','app_id'=>'backend','addons_name'=>'','pid'=>'1','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_1 ','status'=>'1','created_at'=>'1577950325','updated_at'=>'1577950325']);
        $this->insert('{{%common_auth_item}}',['id'=>'6','title'=>'公告列表','name'=>'/notify/announce','app_id'=>'backend','addons_name'=>'','pid'=>'5','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_1 tr_5 ','status'=>'1','created_at'=>'1577950325','updated_at'=>'1577950325']);
        $this->insert('{{%common_auth_item}}',['id'=>'7','title'=>'公告详情','name'=>'/notify/announce-view','app_id'=>'backend','addons_name'=>'','pid'=>'5','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_1 tr_5 ','status'=>'1','created_at'=>'1577950325','updated_at'=>'1577950325']);
        $this->insert('{{%common_auth_item}}',['id'=>'8','title'=>'私信列表','name'=>'/notify/message','app_id'=>'backend','addons_name'=>'','pid'=>'5','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_1 tr_5 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'9','title'=>'提醒列表','name'=>'/notify/remind','app_id'=>'backend','addons_name'=>'','pid'=>'5','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_1 tr_5 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'10','title'=>'平台首页','name'=>'cate:1','app_id'=>'backend','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'11','title'=>'会员管理','name'=>'indexMember','app_id'=>'backend','addons_name'=>'','pid'=>'10','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_10 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'12','title'=>'会员信息','name'=>'indexMemberInfo','app_id'=>'backend','addons_name'=>'','pid'=>'11','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_10 tr_11 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'13','title'=>'充值','name'=>'/member/member/recharge','app_id'=>'backend','addons_name'=>'','pid'=>'12','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_10 tr_11 tr_12 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'14','title'=>'首页','name'=>'/member/member/index','app_id'=>'backend','addons_name'=>'','pid'=>'12','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_10 tr_11 tr_12 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'15','title'=>'编辑','name'=>'/member/member/edit','app_id'=>'backend','addons_name'=>'','pid'=>'12','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_10 tr_11 tr_12 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'16','title'=>'新增/账号密码','name'=>'/member/member/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'12','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_10 tr_11 tr_12 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'17','title'=>'删除','name'=>'/member/member/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'12','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_10 tr_11 tr_12 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'18','title'=>'状态修改','name'=>'/member/member/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'12','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'5','tree'=>'tr_0 tr_10 tr_11 tr_12 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'19','title'=>'收货地址','name'=>'indexMemberAddress','app_id'=>'backend','addons_name'=>'','pid'=>'12','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'6','tree'=>'tr_0 tr_10 tr_11 tr_12 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'20','title'=>'首页','name'=>'/member/address/index','app_id'=>'backend','addons_name'=>'','pid'=>'19','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_10 tr_11 tr_12 tr_19 ','status'=>'1','created_at'=>'1577950326','updated_at'=>'1577950326']);
        $this->insert('{{%common_auth_item}}',['id'=>'21','title'=>'新增/编辑','name'=>'/member/address/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'19','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_10 tr_11 tr_12 tr_19 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'22','title'=>'删除','name'=>'/member/address/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'19','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_10 tr_11 tr_12 tr_19 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'23','title'=>'状态修改','name'=>'/member/address/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'19','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_10 tr_11 tr_12 tr_19 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'24','title'=>'第三方授权','name'=>'indexMemberAuth','app_id'=>'backend','addons_name'=>'','pid'=>'11','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_10 tr_11 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'25','title'=>'首页','name'=>'/member/auth/index','app_id'=>'backend','addons_name'=>'','pid'=>'24','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_10 tr_11 tr_24 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'26','title'=>'新增/编辑','name'=>'/member/auth/edit','app_id'=>'backend','addons_name'=>'','pid'=>'24','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_10 tr_11 tr_24 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'27','title'=>'删除','name'=>'/member/auth/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'24','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_10 tr_11 tr_24 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'28','title'=>'状态修改','name'=>'/member/auth/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'24','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_10 tr_11 tr_24 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'29','title'=>'会员日志','name'=>'memberCreditsLog','app_id'=>'backend','addons_name'=>'','pid'=>'10','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_10 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'30','title'=>'消费日志','name'=>'/member/credits-log/index','app_id'=>'backend','addons_name'=>'','pid'=>'29','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_10 tr_29 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'31','title'=>'积分日志','name'=>'/member/credits-log/integral','app_id'=>'backend','addons_name'=>'','pid'=>'29','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_10 tr_29 ','status'=>'1','created_at'=>'1577950327','updated_at'=>'1577950327']);
        $this->insert('{{%common_auth_item}}',['id'=>'32','title'=>'余额日志','name'=>'/member/credits-log/money','app_id'=>'backend','addons_name'=>'','pid'=>'29','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_10 tr_29 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'33','title'=>'充值配置','name'=>'memberRechargeConfig','app_id'=>'backend','addons_name'=>'','pid'=>'10','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_10 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'34','title'=>'首页','name'=>'/member/recharge-config/index','app_id'=>'backend','addons_name'=>'','pid'=>'33','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_10 tr_33 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'35','title'=>'新增/编辑','name'=>'/member/recharge-config/edit','app_id'=>'backend','addons_name'=>'','pid'=>'33','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_10 tr_33 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'36','title'=>'删除','name'=>'/member/recharge-config/delete','app_id'=>'backend','addons_name'=>'','pid'=>'33','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_10 tr_33 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'37','title'=>'状态修改','name'=>'/member/recharge-config/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'33','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_10 tr_33 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'38','title'=>'系统管理','name'=>'cate:2','app_id'=>'backend','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'39','title'=>'网站设置','name'=>'/common/config/edit-all','app_id'=>'backend','addons_name'=>'','pid'=>'38','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'40','title'=>'数据保存','name'=>'/common/config/update-info','app_id'=>'backend','addons_name'=>'','pid'=>'39','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_39 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'41','title'=>'系统功能','name'=>'commonFunction','app_id'=>'backend','addons_name'=>'','pid'=>'38','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'42','title'=>'应用管理','name'=>'commonAddons','app_id'=>'backend','addons_name'=>'','pid'=>'41','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_41 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'43','title'=>'已安装插件','name'=>'/common/addons/index','app_id'=>'backend','addons_name'=>'','pid'=>'42','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_41 tr_42 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'44','title'=>'本地插件','name'=>'/common/addons/local','app_id'=>'backend','addons_name'=>'','pid'=>'42','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_41 tr_42 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'45','title'=>'安装插件','name'=>'/common/addons/install','app_id'=>'backend','addons_name'=>'','pid'=>'42','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_41 tr_42 ','status'=>'1','created_at'=>'1577950328','updated_at'=>'1577950328']);
        $this->insert('{{%common_auth_item}}',['id'=>'46','title'=>'卸载插件','name'=>'/common/addons/un-install','app_id'=>'backend','addons_name'=>'','pid'=>'42','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_41 tr_42 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'47','title'=>'设计插件','name'=>'/common/addons/create','app_id'=>'backend','addons_name'=>'','pid'=>'42','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_38 tr_41 tr_42 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'48','title'=>'状态修改','name'=>'/common/addons/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'42','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'5','tree'=>'tr_0 tr_38 tr_41 tr_42 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'49','title'=>'编辑','name'=>'/common/addons/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'42','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'6','tree'=>'tr_0 tr_38 tr_41 tr_42 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'50','title'=>'更新数据库','name'=>'/common/addons/upgrade','app_id'=>'backend','addons_name'=>'','pid'=>'42','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'7','tree'=>'tr_0 tr_38 tr_41 tr_42 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'51','title'=>'配置管理','name'=>'commonConfig','app_id'=>'backend','addons_name'=>'','pid'=>'41','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_41 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'52','title'=>'首页','name'=>'/common/config/index','app_id'=>'backend','addons_name'=>'','pid'=>'51','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_41 tr_51 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'53','title'=>'编辑','name'=>'/common/config/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'51','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_41 tr_51 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'54','title'=>'删除','name'=>'/common/config/delete','app_id'=>'backend','addons_name'=>'','pid'=>'51','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_41 tr_51 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'55','title'=>'状态修改','name'=>'/common/config/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'51','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_41 tr_51 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'56','title'=>'配置分类','name'=>'commonConfigCate','app_id'=>'backend','addons_name'=>'','pid'=>'51','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_38 tr_41 tr_51 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'57','title'=>'首页','name'=>'/common/config-cate/index','app_id'=>'backend','addons_name'=>'','pid'=>'56','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_41 tr_51 tr_56 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'58','title'=>'编辑','name'=>'/common/config-cate/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'56','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_41 tr_51 tr_56 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'59','title'=>'删除','name'=>'/common/config-cate/delete','app_id'=>'backend','addons_name'=>'','pid'=>'56','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_41 tr_51 tr_56 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'60','title'=>'状态修改','name'=>'/common/config-cate/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'56','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_41 tr_51 tr_56 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'61','title'=>'后台菜单','name'=>'commonMenu','app_id'=>'backend','addons_name'=>'','pid'=>'41','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_41 ','status'=>'1','created_at'=>'1577950329','updated_at'=>'1577950329']);
        $this->insert('{{%common_auth_item}}',['id'=>'62','title'=>'首页','name'=>'/common/menu/index','app_id'=>'backend','addons_name'=>'','pid'=>'61','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_41 tr_61 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'63','title'=>'新增/编辑','name'=>'/common/menu/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'61','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_41 tr_61 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'64','title'=>'删除','name'=>'/common/menu/delete','app_id'=>'backend','addons_name'=>'','pid'=>'61','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_41 tr_61 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'65','title'=>'状态修改','name'=>'/common/menu/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'61','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_41 tr_61 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'66','title'=>'菜单分类','name'=>'commonMenuCate','app_id'=>'backend','addons_name'=>'','pid'=>'61','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_38 tr_41 tr_61 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'67','title'=>'首页','name'=>'/common/menu-cate/index','app_id'=>'backend','addons_name'=>'','pid'=>'66','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_41 tr_61 tr_66 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'68','title'=>'新增/编辑','name'=>'/common/menu-cate/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'66','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_41 tr_61 tr_66 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'69','title'=>'删除','name'=>'/common/menu-cate/delete','app_id'=>'backend','addons_name'=>'','pid'=>'66','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_41 tr_61 tr_66 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'70','title'=>'状态修改','name'=>'/common/menu-cate/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'66','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_41 tr_61 tr_66 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'71','title'=>'公告管理','name'=>'commonNotifyAnnounce','app_id'=>'backend','addons_name'=>'','pid'=>'41','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_41 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'72','title'=>'首页','name'=>'/base/notify-announce/index','app_id'=>'backend','addons_name'=>'','pid'=>'71','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_41 tr_71 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'73','title'=>'新增/编辑','name'=>'/base/notify-announce/edit','app_id'=>'backend','addons_name'=>'','pid'=>'71','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_41 tr_71 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'74','title'=>'删除','name'=>'/base/notify-announce/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'71','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_41 tr_71 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'75','title'=>'私信管理','name'=>'commonNotifyMessage','app_id'=>'backend','addons_name'=>'','pid'=>'41','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_38 tr_41 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'76','title'=>'首页','name'=>'/base/notify-message/index','app_id'=>'backend','addons_name'=>'','pid'=>'75','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_41 tr_75 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'77','title'=>'新增','name'=>'/base/notify-message/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'75','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_41 tr_75 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'78','title'=>'删除','name'=>'/base/notify-message/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'75','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_41 tr_75 ','status'=>'1','created_at'=>'1577950330','updated_at'=>'1577950330']);
        $this->insert('{{%common_auth_item}}',['id'=>'79','title'=>'用户权限','name'=>'backendMemberAuth','app_id'=>'backend','addons_name'=>'','pid'=>'38','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'80','title'=>'后台用户','name'=>'backendMember','app_id'=>'backend','addons_name'=>'','pid'=>'79','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_79 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'81','title'=>'首页','name'=>'/base/member/index','app_id'=>'backend','addons_name'=>'','pid'=>'80','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_79 tr_80 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'82','title'=>'新增/账号密码','name'=>'/base/member/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'80','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_79 tr_80 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'83','title'=>'删除','name'=>'/base/member/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'80','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_79 tr_80 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'84','title'=>'状态修改','name'=>'/base/member/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'80','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_79 tr_80 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'85','title'=>'编辑','name'=>'/base/member/edit','app_id'=>'backend','addons_name'=>'','pid'=>'80','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_38 tr_79 tr_80 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'86','title'=>'权限管理','name'=>'commonAuthItem','app_id'=>'backend','addons_name'=>'','pid'=>'79','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_79 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'87','title'=>'首页','name'=>'/common/auth-item/index','app_id'=>'backend','addons_name'=>'','pid'=>'86','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_79 tr_86 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'88','title'=>'新增/编辑','name'=>'/common/auth-item/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'86','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_79 tr_86 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'89','title'=>'删除','name'=>'/common/auth-item/delete','app_id'=>'backend','addons_name'=>'','pid'=>'86','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_79 tr_86 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'90','title'=>'状态修改','name'=>'/common/auth-item/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'86','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_79 tr_86 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'91','title'=>'角色管理','name'=>'commonAuthRole','app_id'=>'backend','addons_name'=>'','pid'=>'79','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_79 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'92','title'=>'首页','name'=>'/common/auth-role/index','app_id'=>'backend','addons_name'=>'','pid'=>'91','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_79 tr_91 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'93','title'=>'新增/编辑','name'=>'/common/auth-role/edit','app_id'=>'backend','addons_name'=>'','pid'=>'91','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_79 tr_91 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'94','title'=>'删除','name'=>'/common/auth-role/delete','app_id'=>'backend','addons_name'=>'','pid'=>'91','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_79 tr_91 ','status'=>'1','created_at'=>'1577950331','updated_at'=>'1577950331']);
        $this->insert('{{%common_auth_item}}',['id'=>'95','title'=>'状态修改','name'=>'/common/auth-role/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'91','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_79 tr_91 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'96','title'=>'客户授权','name'=>'oauth2Client','app_id'=>'backend','addons_name'=>'','pid'=>'38','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'97','title'=>'首页','name'=>'/oauth2/client/index','app_id'=>'backend','addons_name'=>'','pid'=>'96','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_96 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'98','title'=>'删除','name'=>'/oauth2/client/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'96','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_96 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'99','title'=>'状态修改','name'=>'/oauth2/client/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'96','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_96 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'100','title'=>'新增/编辑','name'=>'/oauth2/client/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'96','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_96 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'101','title'=>'系统工具','name'=>'commonTool','app_id'=>'backend','addons_name'=>'','pid'=>'38','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_38 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'102','title'=>'系统信息','name'=>'/common/system/info','app_id'=>'backend','addons_name'=>'','pid'=>'101','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_101 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'103','title'=>'资源文件','name'=>'commonAttachment','app_id'=>'backend','addons_name'=>'','pid'=>'101','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_101 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'104','title'=>'首页','name'=>'/common/attachment/index','app_id'=>'backend','addons_name'=>'','pid'=>'103','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_101 tr_103 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'105','title'=>'删除','name'=>'/common/attachment/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'103','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_101 tr_103 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'106','title'=>'状态修改','name'=>'/common/attachment/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'103','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_101 tr_103 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'107','title'=>'查看日志','name'=>'commonLog','app_id'=>'backend','addons_name'=>'','pid'=>'101','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_101 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'108','title'=>'行为日志','name'=>'/common/action-log/index','app_id'=>'backend','addons_name'=>'','pid'=>'107','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_101 tr_107 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'109','title'=>'行为日志详情','name'=>'/common/action-log/view','app_id'=>'backend','addons_name'=>'','pid'=>'107','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_101 tr_107 ','status'=>'1','created_at'=>'1577950332','updated_at'=>'1577950332']);
        $this->insert('{{%common_auth_item}}',['id'=>'110','title'=>'报错日志','name'=>'/common/log/index','app_id'=>'backend','addons_name'=>'','pid'=>'107','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_101 tr_107 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'111','title'=>'报错日志详情','name'=>'/common/log/view','app_id'=>'backend','addons_name'=>'','pid'=>'107','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_101 tr_107 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'112','title'=>'支付日志','name'=>'/common/pay-log/index','app_id'=>'backend','addons_name'=>'','pid'=>'107','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_38 tr_101 tr_107 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'113','title'=>'支付日志详情','name'=>'/common/pay-log/view','app_id'=>'backend','addons_name'=>'','pid'=>'107','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'5','tree'=>'tr_0 tr_38 tr_101 tr_107 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'114','title'=>'短信日志','name'=>'/common/sms-log/index','app_id'=>'backend','addons_name'=>'','pid'=>'107','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'6','tree'=>'tr_0 tr_38 tr_101 tr_107 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'115','title'=>'IP黑名单','name'=>'commonIpBlacklist','app_id'=>'backend','addons_name'=>'','pid'=>'101','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_101 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'116','title'=>'首页','name'=>'/common/ip-blacklist/index','app_id'=>'backend','addons_name'=>'','pid'=>'115','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_101 tr_115 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'117','title'=>'删除','name'=>'/common/ip-blacklist/destroy','app_id'=>'backend','addons_name'=>'','pid'=>'115','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_101 tr_115 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'118','title'=>'状态修改','name'=>'/common/ip-blacklist/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'115','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_101 tr_115 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'119','title'=>'新增/编辑','name'=>'/common/ip-blacklist/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'115','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_101 tr_115 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'120','title'=>'行为监控','name'=>'commonActionBehavior','app_id'=>'backend','addons_name'=>'','pid'=>'101','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_38 tr_101 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'121','title'=>'首页','name'=>'/common/action-behavior/index','app_id'=>'backend','addons_name'=>'','pid'=>'120','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_38 tr_101 tr_120 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'122','title'=>'新增/编辑','name'=>'/common/action-behavior/ajax-edit','app_id'=>'backend','addons_name'=>'','pid'=>'120','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_38 tr_101 tr_120 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'123','title'=>'删除','name'=>'/common/action-behavior/delete','app_id'=>'backend','addons_name'=>'','pid'=>'120','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_38 tr_101 tr_120 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'124','title'=>'状态修改','name'=>'/common/action-behavior/ajax-update','app_id'=>'backend','addons_name'=>'','pid'=>'120','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_38 tr_101 tr_120 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'125','title'=>'应用中心','name'=>'cate:3','app_id'=>'backend','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 ','status'=>'1','created_at'=>'1577950333','updated_at'=>'1577950333']);
        $this->insert('{{%common_auth_item}}',['id'=>'126','title'=>'系统基础','name'=>'base','app_id'=>'merchant','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'127','title'=>'个人中心','name'=>'/base/member/personal','app_id'=>'merchant','addons_name'=>'','pid'=>'126','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_126 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'128','title'=>'修改密码','name'=>'/base/member/up-password','app_id'=>'merchant','addons_name'=>'','pid'=>'126','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_126 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'129','title'=>'平台首页','name'=>'cate:6','app_id'=>'merchant','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'130','title'=>'会员管理','name'=>'indexMember','app_id'=>'merchant','addons_name'=>'','pid'=>'129','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_129 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'131','title'=>'会员信息','name'=>'indexMemberInfo','app_id'=>'merchant','addons_name'=>'','pid'=>'130','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_129 tr_130 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'132','title'=>'充值','name'=>'/member/member/recharge','app_id'=>'merchant','addons_name'=>'','pid'=>'131','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_129 tr_130 tr_131 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'133','title'=>'首页','name'=>'/member/member/index','app_id'=>'merchant','addons_name'=>'','pid'=>'131','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_129 tr_130 tr_131 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'134','title'=>'编辑','name'=>'/member/member/edit','app_id'=>'merchant','addons_name'=>'','pid'=>'131','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_129 tr_130 tr_131 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'135','title'=>'新增/账号密码','name'=>'/member/member/ajax-edit','app_id'=>'merchant','addons_name'=>'','pid'=>'131','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_129 tr_130 tr_131 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'136','title'=>'删除','name'=>'/member/member/destroy','app_id'=>'merchant','addons_name'=>'','pid'=>'131','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_129 tr_130 tr_131 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'137','title'=>'状态修改','name'=>'/member/member/ajax-update','app_id'=>'merchant','addons_name'=>'','pid'=>'131','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'5','tree'=>'tr_0 tr_129 tr_130 tr_131 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'138','title'=>'收货地址','name'=>'indexMemberAddress','app_id'=>'merchant','addons_name'=>'','pid'=>'131','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'6','tree'=>'tr_0 tr_129 tr_130 tr_131 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'139','title'=>'首页','name'=>'/member/address/index','app_id'=>'merchant','addons_name'=>'','pid'=>'138','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_129 tr_130 tr_131 tr_138 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'140','title'=>'新增/编辑','name'=>'/member/address/ajax-edit','app_id'=>'merchant','addons_name'=>'','pid'=>'138','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_129 tr_130 tr_131 tr_138 ','status'=>'1','created_at'=>'1577950354','updated_at'=>'1577950354']);
        $this->insert('{{%common_auth_item}}',['id'=>'141','title'=>'删除','name'=>'/member/address/destroy','app_id'=>'merchant','addons_name'=>'','pid'=>'138','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_129 tr_130 tr_131 tr_138 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'142','title'=>'状态修改','name'=>'/member/address/ajax-update','app_id'=>'merchant','addons_name'=>'','pid'=>'138','level'=>'5','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_129 tr_130 tr_131 tr_138 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'143','title'=>'第三方授权','name'=>'indexMemberAuth','app_id'=>'merchant','addons_name'=>'','pid'=>'130','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_129 tr_130 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'144','title'=>'首页','name'=>'/member/auth/index','app_id'=>'merchant','addons_name'=>'','pid'=>'143','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_129 tr_130 tr_143 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'145','title'=>'新增/编辑','name'=>'/member/auth/edit','app_id'=>'merchant','addons_name'=>'','pid'=>'143','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_129 tr_130 tr_143 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'146','title'=>'删除','name'=>'/member/auth/destroy','app_id'=>'merchant','addons_name'=>'','pid'=>'143','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_129 tr_130 tr_143 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'147','title'=>'状态修改','name'=>'/member/auth/ajax-update','app_id'=>'merchant','addons_name'=>'','pid'=>'143','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_129 tr_130 tr_143 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'148','title'=>'会员日志','name'=>'memberCreditsLog','app_id'=>'merchant','addons_name'=>'','pid'=>'129','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_129 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'149','title'=>'消费日志','name'=>'/member/credits-log/index','app_id'=>'merchant','addons_name'=>'','pid'=>'148','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_129 tr_148 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'150','title'=>'积分日志','name'=>'/member/credits-log/integral','app_id'=>'merchant','addons_name'=>'','pid'=>'148','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_129 tr_148 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'151','title'=>'余额日志','name'=>'/member/credits-log/money','app_id'=>'merchant','addons_name'=>'','pid'=>'148','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_129 tr_148 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'152','title'=>'充值配置','name'=>'memberRechargeConfig','app_id'=>'merchant','addons_name'=>'','pid'=>'129','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_129 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'153','title'=>'首页','name'=>'/member/recharge-config/index','app_id'=>'merchant','addons_name'=>'','pid'=>'152','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_129 tr_152 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'154','title'=>'新增/编辑','name'=>'/member/recharge-config/edit','app_id'=>'merchant','addons_name'=>'','pid'=>'152','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_129 tr_152 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'155','title'=>'删除','name'=>'/member/recharge-config/delete','app_id'=>'merchant','addons_name'=>'','pid'=>'152','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_129 tr_152 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'156','title'=>'状态修改','name'=>'/member/recharge-config/ajax-update','app_id'=>'merchant','addons_name'=>'','pid'=>'152','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_129 tr_152 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'157','title'=>'系统管理','name'=>'cate:4','app_id'=>'merchant','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 ','status'=>'1','created_at'=>'1577950355','updated_at'=>'1577950355']);
        $this->insert('{{%common_auth_item}}',['id'=>'158','title'=>'网站设置','name'=>'/common/config/edit-all','app_id'=>'merchant','addons_name'=>'','pid'=>'157','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_157 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'159','title'=>'数据保存','name'=>'/common/config/update-info','app_id'=>'merchant','addons_name'=>'','pid'=>'158','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_157 tr_158 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'160','title'=>'用户权限','name'=>'merchantMemberAuth','app_id'=>'merchant','addons_name'=>'','pid'=>'157','level'=>'2','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_157 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'161','title'=>'后台用户','name'=>'merchantMember','app_id'=>'merchant','addons_name'=>'','pid'=>'160','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_157 tr_160 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'162','title'=>'首页','name'=>'/base/member/index','app_id'=>'merchant','addons_name'=>'','pid'=>'161','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_157 tr_160 tr_161 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'163','title'=>'新增/账号密码','name'=>'/base/member/ajax-edit','app_id'=>'merchant','addons_name'=>'','pid'=>'161','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_157 tr_160 tr_161 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'164','title'=>'删除','name'=>'/base/member/destroy','app_id'=>'merchant','addons_name'=>'','pid'=>'161','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_157 tr_160 tr_161 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'165','title'=>'状态修改','name'=>'/base/member/ajax-update','app_id'=>'merchant','addons_name'=>'','pid'=>'161','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_157 tr_160 tr_161 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'166','title'=>'编辑','name'=>'/base/member/edit','app_id'=>'merchant','addons_name'=>'','pid'=>'161','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'4','tree'=>'tr_0 tr_157 tr_160 tr_161 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'167','title'=>'角色管理','name'=>'commonAuthRole','app_id'=>'merchant','addons_name'=>'','pid'=>'160','level'=>'3','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_157 tr_160 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'168','title'=>'首页','name'=>'/common/auth-role/index','app_id'=>'merchant','addons_name'=>'','pid'=>'167','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'0','tree'=>'tr_0 tr_157 tr_160 tr_167 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'169','title'=>'新增/编辑','name'=>'/common/auth-role/edit','app_id'=>'merchant','addons_name'=>'','pid'=>'167','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'1','tree'=>'tr_0 tr_157 tr_160 tr_167 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'170','title'=>'删除','name'=>'/common/auth-role/delete','app_id'=>'merchant','addons_name'=>'','pid'=>'167','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'2','tree'=>'tr_0 tr_157 tr_160 tr_167 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'171','title'=>'状态修改','name'=>'/common/auth-role/ajax-update','app_id'=>'merchant','addons_name'=>'','pid'=>'167','level'=>'4','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 tr_157 tr_160 tr_167 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        $this->insert('{{%common_auth_item}}',['id'=>'172','title'=>'应用中心','name'=>'cate:5','app_id'=>'merchant','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','is_addon'=>'0','sort'=>'3','tree'=>'tr_0 ','status'=>'1','created_at'=>'1577950356','updated_at'=>'1577950356']);
        
        /* 设置外键约束 */
        $this->execute('SET foreign_key_checks = 1;');
    }

    public function down()
    {
        $this->execute('SET foreign_key_checks = 0');
        /* 删除表 */
        $this->dropTable('{{%common_auth_item}}');
        $this->execute('SET foreign_key_checks = 1;');
    }
}

